# import numpy as np
# import matplotlib.pyplot as plt
# import math
# from basic import *
#
# up = [0,1,2]
# down = [2,1,0]
# concave = [2,0,2]
# convex = [0,2,0]
#
#
# plt.subplot(2,2,1)
# plt.xlabel('$x$')
# plt.ylabel('$y$')
# plt.plot(up, label='increasing')
# plt.title('increasing')
# plt.subplot(2,2,2)
# plt.xlabel('$x$')
# plt.ylabel('$y$')
# plt.plot(down, label='decreasing')
# plt.title('decreasing')
# plt.subplot(2,2,3)
# plt.xlabel('$x$')
# plt.ylabel('$y$')
# plt.plot(concave, label='concave')
# plt.title('concave')
# plt.subplot(2,2,4)
# plt.xlabel('$x$')
# plt.ylabel('$y$')
# plt.plot(convex, label='convex')
# plt.title('convex')
#
# plt.tight_layout()
# plt.savefig(PATH+'paradigms.pdf', format='pdf')
# plt.show()

# import numpy as np
# import matplotlib.pyplot as plt
# from itertools import permutations
# from basic import *
#
#
# array = (0, 1, 2, 3)
# perms = list(permutations(array))
#
# plt.figure(figsize=(10, 7))
# for p, perm in enumerate(perms):
# 	plt.subplot(4, 6, p+1)
# 	plt.grid(True)
# 	plt.xticks(np.arange(0, len(array), 1), array)
# 	plt.yticks(np.arange(0, len(array), 1), array)
# 	plt.plot(perm)
# 	plt.title('Permutation {}'.format(p+1))
# # plt.suptitle('Permutations of {}'.format(array))
# plt.tight_layout()
# plt.savefig(PATH+'results/paradigms.pdf', format='pdf')
# plt.show()


import numpy as np
import matplotlib.pyplot as plt
import math
from basic import *

a = [0,4,2,3,5,1]
b = [0,3,2,4,5,1]
plt.subplot(2,1,1)
plt.plot(a)
plt.subplot(2,1,2)
plt.plot(b)
plt.show()
